package com.ysd.twocrm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;


//课程子表
@TableName(value = "coursechildren")
public class CourseChildren {
    @TableId(value = "scid",type = IdType.AUTO)
    private Integer scid;//编号主键

    private String scName;//名称

    private Integer cDifficulty;//难度

    private Integer cid;//课程主键

    private Integer exit1;//备用字段1

    private String exit2;//备用字段2

    public CourseChildren(Integer scid, String scName, Integer cDifficulty, Integer cid, Integer exit1, String exit2) {
        this.scid = scid;
        this.scName = scName;
        this.cDifficulty = cDifficulty;
        this.cid = cid;
        this.exit1 = exit1;
        this.exit2 = exit2;
    }

    @Override
    public String toString() {
        return "CourseChildren{" +
                "scid=" + scid +
                ", scName='" + scName + '\'' +
                ", cDifficulty=" + cDifficulty +
                ", cid=" + cid +
                ", exit1=" + exit1 +
                ", exit2='" + exit2 + '\'' +
                '}';
    }

    public Integer getScid() {
        return scid;
    }

    public void setScid(Integer scid) {
        this.scid = scid;
    }

    public String getScName() {
        return scName;
    }

    public void setScName(String scName) {
        this.scName = scName;
    }

    public Integer getcDifficulty() {
        return cDifficulty;
    }

    public void setcDifficulty(Integer cDifficulty) {
        this.cDifficulty = cDifficulty;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public Integer getExit1() {
        return exit1;
    }

    public void setExit1(Integer exit1) {
        this.exit1 = exit1;
    }

    public String getExit2() {
        return exit2;
    }

    public void setExit2(String exit2) {
        this.exit2 = exit2;
    }
}
